package com.hxd.mall.utils.open

import kotlinx.coroutines.*

/**
 * 协程
 */

fun launchUi(start: CoroutineStart = CoroutineStart.DEFAULT,
             block: suspend CoroutineScope.() -> Unit
) = GlobalScope.launch(Dispatchers.Main, start, block)


